package com.zhoukun.nacos.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.UUID;

/**
 * @author zhoukun 86547462@qq.com
 * @version 1.0
 * @date 2020/11/2 0:56
 */
@FeignClient(value = "nacos-provider",fallback = PaymentServiceImpl.class)
public interface PaymentService {
    @GetMapping(value = "/uuid")
    public String echo();
}
